package test1028;

import java.util.Scanner;

public class HWFS {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        //快递
        HUSend huSend = new HUSend();
        System.out.println("请输入货物名称:");
        huSend.name = scanner.nextLine();
        //huSend.name = "洗涤用品";

        System.out.println("请输入发货编号:");
        huSend.number = scanner.nextLine();
        //huSend.number = "F0002";

        System.out.println("请输入目的地：");
        huSend.address = scanner.nextLine();
        //huSend.address = "北京天坛";

        System.out.println("请输入发货员名字：");
        huSend.empName = scanner.nextLine();
        //huSend.empName = "王五";

        System.out.println("请输入货物单号");
        huSend.code = scanner.nextLine();
        //huSend.code = "0003";

        ZhuanYong zy = new ZhuanYong();
        System.out.println("请输入编号：");
        zy.Fcode = scanner.nextLine();
        //zy.Fcode = "津YUW12";

        System.out.println("请输入型号：");
        zy.number = scanner.nextLine();
        //zy.number = "F0002";

        Phone phone =new Phone();

        huSend.sendBefore();
        huSend.send(zy,phone);
        huSend.sendAfter(zy);
    }
}
